/**
 * jims
 */
package com.jims.master.modules.finance.entity;

import org.hibernate.validator.constraints.Length;

import com.jims.master.common.persistence.DataEntity;

/**
 * 退费申请记录Entity
 * @author 赵宁
 * @version 2017-04-19
 */
public class RefundChargesApply extends DataEntity<RefundChargesApply> {
	
	private static final long serialVersionUID = 1L;
	private String ordersId;		// 医嘱ID
	private String type;		// 操作类型 1:申请  2：等待确认状态
	
	public RefundChargesApply() {
		super();
	}

	public RefundChargesApply(String id){
		super(id);
	}

	@Length(min=1, max=64, message="医嘱ID长度必须介于 1 和 64 之间")
	public String getOrdersId() {
		return ordersId;
	}

	public void setOrdersId(String ordersId) {
		this.ordersId = ordersId;
	}
	
	@Length(min=0, max=5, message="操作类型长度必须介于 0 和 5 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@Length(min=1, max=64, message="机构ID长度必须介于 1 和 64 之间")
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	
}